﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using HelloMVC.Model;

namespace HelloMVC.Interface.Repository
{
    public interface IIssueRepository
    {
        IList<Issue> QueryIssues(IssueQuery query);
        Int32 QueryIssuesCount(IssueQuery query);
        IList<Issue> QuerySubIssues(Int32 id);
        IList<Issue> QueryProjectParentIssues(Int32 porjectId);
        IList<Issue> QueryProjectOtherIssues(Int32 projectId);
        StepFamily CombineStepFamily(Issue parentIssue);
        StepFamily CombineOtherIssues(Int32 projectId);
    }
}
